import request from '../../utils/request';
/**
 * 项目页面接口集合
 * @method signIn 用户登录
 */

//项目列表接口封装
export function organizationApi() {
	return {
		signIn: (data: object) => {
			return request({
				url: '/organization/project/index',
				method: 'post',
				data,
			});
		},
	};
}

//项目下架接口封装
export function organizationdelApi() {
	return {
		signIn: (data: object) => {
			return request({
				url: '/organization/project/del',
				method: 'post',
				data,
			});
		},
	};
}

//项目添加/编辑接口封装
export function organizationaddApi() {
	return {
		signIn: (data: object) => {
			return request({
				url: '/organization/project/add',
				method: 'post',
				data,
			});
		},
	};
}

//项目编辑回显接口封装
export function organizationeditApi() {
	return {
		signIn: (data: object) => {
			return request({
				url: '/organization/project/edit',
				method: 'post',
				data,
			});
		},
	};
}

//项目恢复接口封装
export function organizationbackApi() {
	return {
		signIn: (data: object) => {
			return request({
				url: '/organization/project/back',
				method: 'post',
				data,
			});
		},
	};
}